home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xaw / dialogp.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  3KB  |  75 lines

  1. /* $XConsortium: DialogP.h,v 1.12 89/08/25 18:35:37 kit Exp $ */
  2.  
  3.  
  4. /***********************************************************
  5. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  6. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  7.  
  8.                         All Rights Reserved
  9.  
  10. Permission to use, copy, modify, and distribute this software and its 
  11. documentation for any purpose and without fee is hereby granted, 
  12. provided that the above copyright notice appear in all copies and that
  13. both that copyright notice and this permission notice appear in 
  14. supporting documentation, and that the names of Digital or MIT not be
  15. used in advertising or publicity pertaining to distribution of the
  16. software without specific, written prior permission.  
  17.  
  18. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  20. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  21. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  22. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  23. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  24. SOFTWARE.
  25.  
  26. ******************************************************************/
  27.  
  28. /* Private definitions for Dialog widget */
  29.  
  30. #ifndef _DialogP_h
  31. #define _DialogP_h
  32.  
  33. #include <X11/Xaw/Dialog.h>
  34. #include <X11/Xaw/FormP.h>
  35.  
  36. typedef struct {int empty;} DialogClassPart;
  37.  
  38. typedef struct _DialogClassRec {
  39.     CoreClassPart    core_class;
  40.     CompositeClassPart    composite_class;
  41.     ConstraintClassPart    constraint_class;
  42.     FormClassPart    form_class;
  43.     DialogClassPart    dialog_class;
  44. } DialogClassRec;
  45.  
  46. extern DialogClassRec dialogClassRec;
  47.  
  48. typedef struct _DialogPart {
  49.     /* resources */
  50.     String    label;        /* description of the dialog    */
  51.     String    value;        /* for the user response    */
  52.     Pixmap    icon;        /* icon bitmap            */
  53.     /* private data */
  54.     Widget    iconW;        /* widget to display the icon    */
  55.     Widget    labelW;        /* widget to display description*/
  56.     Widget    valueW;        /* user response TextWidget    */
  57. } DialogPart;
  58.  
  59. typedef struct _DialogRec {
  60.     CorePart        core;
  61.     CompositePart    composite;
  62.     ConstraintPart    constraint;
  63.     FormPart        form;
  64.     DialogPart        dialog;
  65. } DialogRec;
  66.  
  67. typedef struct {int empty;} DialogConstraintsPart;
  68.  
  69. typedef struct _DialogConstraintsRec {
  70.     FormConstraintsPart      form;
  71.     DialogConstraintsPart dialog;
  72. } DialogConstraintsRec, *DialogConstraints;
  73.  
  74. #endif /* _DialogP_h */
  75.